"""
定义ASGI的接口信息，和WSGI类似，在3.0以后新增ASGI，
相比WSGI，ASGI实现了异步处理，用于启动异步通信服务，比如实现在线聊天等异步通信功能（类似Tornado异步框架）

ASGI config for djangopro_learn project.

It exposes the ASGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/
"""
import os

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangoProject.settings')

application = get_asgi_application()
